home *** CD-ROM | disk | FTP | other *** search
- BDEX: BASIC line number reference and organization -- (C) 1990 R. Beck
-
- ════════════════════════════════════════════════════════════════════════════
-
- BDEX was written to help identify algorithms in BASIC programs so that
- they may be converted to another language. This is not a full translation
- utility, but it helps to convert program code to a vertical format.
-
- It separates commands and removes unreferenced line numbers --which is
- more readable and easier to reverse-engineer. The line numbers that do
- remain are preceded by an "L" to identify them as a label.
-
- Arrays, variables, and strings are listed separately.
-
- BDEX is capable of crude translation to structured BASIC, C, or Pascal by
- using the "/B", "/C", or "/P" options. The results, although limited,
- are especially useful for changing quote characters in Pascal strings.
-
- Indentations will follow IF/THEN, FOR/NEXT, and WHILE/WEND conditions to
- simplify the listing. This is in effect only until the next label.
-
- Spaces are normally used for indenting, but TAB characters may be
- substituted by using "/T" on the command line.
-
- BEGIN/END markings in Pascal, {/} markings in C, and IF/END_IF markings
- will be inserted automatically for IF/THEN conditions. This cannot be
- done with FOR/NEXT or WHILE/WEND blocks.
-
- C programmers should pay special attention to the FOR/NEXT commands, and how
- they are converted.
-
- This program was recently improved to recognize assignment statements for
- C and Pascal translation.
-
-
- The syntax is command-line oriented:
-
- BDEX <filename> [/B|/C|/P] [/T]
-
- /B --modifies some code for structured BASIC
- /C --modifies some code for C translation
- /P --modifies some code for Pascal
- /T --uses TAB characters
-
-
- ════════════════════════════════════════════════════════════════════════════
-
- Randolph Beck
- P.O. Box 56-0487
- Orlando, FL 32856
-
- CIS: 72361,753
-
-
-
-
- ----------------end-of-author's-documentation---------------
-
- Software Library Information:
-
- This disk copy provided as a service of
-
- Public (software) Library
-
- We are not the authors of this program, nor are we associated
- with the author in any way other than as a distributor of the
- program in accordance with the author's terms of distribution.
-
- Please direct shareware payments and specific questions about
- this program to the author of the program, whose name appears
- elsewhere in this documentation. If you have trouble getting
- in touch with the author, we will do whatever we can to help
- you with your questions. All programs have been tested and do
- run. To report problems, please use the form that is in the
- file PROBLEM.DOC on many of our disks or in other written for-
- mat with screen printouts, if possible. PsL cannot debug pro-
- programs over the telephone, though we can answer questions.
-
- Disks in the PsL are updated monthly, so if you did not get
- this disk directly from the PsL, you should be aware that the
- files in this set may no longer be the current versions. Also,
- if you got this disk from another vendor and are having prob-
- lems, be aware that some files may have become corrupted or
- lost by that vendor. Get a current, working disk from PsL.
-
- For a copy of the latest monthly software library newsletter
- and a list of the 2,000+ disks in the library, call or write
-
- Public (software) Library
- P.O.Box 35705 - F
- Houston, TX 77235-5705
-
- 1-800-2424-PSL
- MC/Visa/AmEx
-
- Outside of U.S. or in Texas
- or for general information,
- Call 1-713-524-6394
-
- PsL also has an outstanding
- catalog for the Macintosh.
-